<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<center>
    <TABLE border="1">
        <tr>
            <th>歌手编号</th>
            <th>组合歌手编号</th>
            <th>歌手姓名</th>
            <th>所属地区</th>
            <th>歌手性别</th>
            <th>所属分类</th>
            <th>操作</th>

        </tr>
        <tr th:each=" singer: ${singerList}">
            <td th:text="${singer.singerId}"></td>
            <td th:text="${singer.compositionsingerId}"></td>
            <td th:text="${singer.name}"></td>
            <td th:text="${singer.region}"></td>
            <td th:text="${singer.sex}"></td>
            <td th:text="${singer.type}"></td>
            <td>
                <form action="updatesingerhtml" method="post">
                    <input type="hidden" name="siId" th:value="${singer.singerId}" />
                    <input type="submit" value="修改">
                 </form>
                <form action="deletesinger" method="post">
                    <input type="hidden" name="id" th:value="${singer.singerId}" />
                    <input type="submit" value="删除">
                </form>
            </td>
        </tr>
    </TABLE>
    <a href="singeradd.html" style="text-decoration: none">点击增加歌手</a>
</center>
</body>
</html>